Skip to content

Fix missing restriction attributes#975

Merged
TuThoThai merged 5 commits intonextfrom
fix_missing_restriction_attributes
Oct 20, 2025
Merged

Fix missing restriction attributes#975
TuThoThai merged 5 commits intonextfrom
fix_missing_restriction_attributes

Conversation

@skinkie
Copy link
Copy Markdown
Contributor

@skinkie skinkie commented Oct 14, 2025

This builds on #970 and partially resolves #973 for References from the attribute level. Importance: this fills the gap of objects that never received attributes, or partial attributes. I'll try to apply defaults, etc. in a next commit, otherwise I'll mark it for review.

Changes: the NameOfClassXXXRefStructure's were renamed to NameOfClassXXXRefStructureType.
All missing attributes were added to XXXRefStructure's.

We would still require software that can assess that a restriction inherited all element, groups, attributes and attributeGroups from its base. My own attempt to compute it took too long.

@skinkie skinkie marked this pull request as ready for review October 14, 2025 16:16
@skinkie skinkie added this to the netex_2.0 milestone Oct 14, 2025
@TuThoThai TuThoThai mentioned this pull request Oct 15, 2025
21 tasks
@ue71603 ue71603 requested a review from trurlurl October 15, 2025 12:20
TuThoThai
TuThoThai previously approved these changes Oct 20, 2025
Copy link
Copy Markdown
Contributor

@TuThoThai TuThoThai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review done with @thbar.

Minor comments (mostly for future work):
- in commit Add all missing attributes to the restrictions, the documentation should read "unchanged." instead of "unchanged;". As only a punctuation, it is very minor and would not hinder anything if let unmodified.

  • changes made in examples have not been reviewed
  • code in Python has not been reviewed
  • AI-automated code should be better "flagged" in this repo and massive PR should be divided in smaller pieces, mostly to ease the review for newcomers

The PR is approved considering:

  • it reflects the group consensus for v2.0
  • breaking existing NeTEx feeds after the merge was a pre-existing agreement for NeTEx v2.0 as these feeds were marked as faulty and the group wanted better automated checks against NeTEx XSD
  • it will serve as a good basis for v2.x but mostly v3.0

Comment thread xsd/netex_framework/netex_frames/netex_resourceFrame_support.xsd Outdated
Comment thread xsd/netex_framework/netex_frames/netex_compositeFrame_version.xsd Outdated
Comment thread xsd/netex_framework/netex_frames/netex_generalFrame_version.xsd Outdated
Comment thread xsd/netex_framework/netex_frames/netex_generalFrame_version.xsd Outdated
Comment thread xsd/netex_framework/netex_frames/netex_serviceCalendarFrame_support.xsd Outdated
Comment thread xsd/netex_framework/netex_genericFramework/netex_organisation_support.xsd Outdated
Comment thread xsd/netex_framework/netex_genericFramework/netex_organisation_support.xsd Outdated
Comment thread xsd/netex_framework/netex_genericFramework/netex_organisation_support.xsd Outdated
Comment thread xsd/netex_framework/netex_genericFramework/netex_organisation_support.xsd Outdated
Comment thread xsd/netex_framework/netex_genericFramework/netex_organisation_support.xsd Outdated
@skinkie skinkie dismissed TuThoThai’s stale review October 20, 2025 09:32

The merge-base changed after approval.

TuThoThai
TuThoThai previously approved these changes Oct 20, 2025
@skinkie skinkie dismissed TuThoThai’s stale review October 20, 2025 09:38

The merge-base changed after approval.

@skinkie
Copy link
Copy Markdown
Contributor Author

skinkie commented Oct 20, 2025

@TuThoThai done.

TuThoThai
TuThoThai previously approved these changes Oct 20, 2025
Copy link
Copy Markdown
Contributor

@TuThoThai TuThoThai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@skinkie, thanks for the changes for documentation!

@skinkie skinkie dismissed TuThoThai’s stale review October 20, 2025 09:53

The merge-base changed after approval.

TuThoThai
TuThoThai previously approved these changes Oct 20, 2025
@skinkie skinkie dismissed TuThoThai’s stale review October 20, 2025 12:47

The merge-base changed after approval.

trurlurl
trurlurl previously approved these changes Oct 20, 2025
@skinkie skinkie dismissed trurlurl’s stale review October 20, 2025 13:42

The merge-base changed after approval.

@skinkie skinkie closed this Oct 20, 2025
@skinkie skinkie reopened this Oct 20, 2025
@skinkie skinkie requested review from TuThoThai and trurlurl October 20, 2025 13:56
@TuThoThai TuThoThai merged commit 9fa9e97 into next Oct 20, 2025
1 check passed
@TuThoThai TuThoThai deleted the fix_missing_restriction_attributes branch October 20, 2025 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants